<?php require_once('header.php'); ?>
	<h1>Create Content</h1>
        <h2>Select a content type</h2>
        <ul class="hoverable" id="description_list">
            <?php 
            	$types = $this->getContentTypes(); 
            	foreach ($types as $type) {
	           		$name = $type['type'];
	            	$urlName = urlencode($name);
	            	$desc = $type['description'];   		
          	?>
            	<li><a href="$urlName"><?php echo $name ?></a> 
            	<span class = "description"><?php echo $desc ?></span></li>
            <?php 
            	} // end foreach
            ?>
        </ul>    
<?php require_once('footer.php'); ?>